﻿using Sidvall.Collections;

namespace Sidvall.LogManager.Net.Services.V1.Model
{
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling")]
    public partial class EntityCache
    {
        #region Public Members

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
        public LogScopeCollectionItem LogScopeCache { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
        public LogScopeItemCollectionItem LogScopeItemCache { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
        public LogScopeItemCategoryCollectionItem LogScopeItemCategoryCache { get; set; }
        
        #region Clear

        public void Clear()
        {
            this.LogScopeCache = null;
            this.LogScopeItemCache = null;
            this.LogScopeItemCategoryCache = null;
        }

        #endregion
        
        #endregion
        #region Constructors

        public EntityCache()
        {
        }

        #endregion
    }
}